package com.cn.kehong.dao;

import com.cn.kehong.domain.ProductSaojieJob;
import com.cn.kehong.domain.ProductSaojieJobExample;
import java.util.List;

import com.cn.kehong.domain.ProductSaojiePeriod;
import com.cn.kehong.utils.QueryForm;
import org.apache.ibatis.annotations.Param;

public interface ProductSaojieJobMapper {
    int countByExample(ProductSaojieJobExample example);

    int deleteByExample(ProductSaojieJobExample example);

    int insert(ProductSaojieJob record);

    int insertSelective(ProductSaojieJob record);

    List<ProductSaojieJob> selectByExample(ProductSaojieJobExample example);

    List<String> selectJobGuanCodeBySaojieId(String saojieId);

    int updateByExampleSelective(@Param("record") ProductSaojieJob record, @Param("example") ProductSaojieJobExample example);

    int updateByExample(@Param("record") ProductSaojieJob record, @Param("example") ProductSaojieJobExample example);

    int batchInsertProductSaojieJobs(@Param("itemList") List<ProductSaojieJob> records);

    List<ProductSaojieJob> selectProductSaojieJobs(QueryForm queryForm);

    int selectProductSaojieJobCount(QueryForm queryForm);

    int batchUpdateSaojieJobs(List<ProductSaojieJob> records);

    List<ProductSaojieJob> getProductSaojieJobBylist(String productCode);

    int getProductSaojieJobBackCount(QueryForm queryForm);

    List<ProductSaojieJob> getProductSaojieJobBackList(QueryForm queryForm);

    List<ProductSaojieJob> getProductSaojieJobBackListEx(QueryForm queryForm);
}